<?php
class AdminBaseAction extends Action{
   public function _initialize(){
	   import('ORG.Util.Session');
	    $user=Session::get('user');
		if(null==$user){
			$this->redirect('Login/index');
			exit;
		}else{
			$this->assign('username',$user);
		}
   }
}
